package org.jeecg.modules.dlxj.service;

import io.swagger.models.Model;
import org.jeecg.modules.dlxj.entity.DlxBugQuery;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @Description: 缺陷查询
 * @Author: lzl
 * @Date:   2022-07-27
 * @Version: V1.0
 */
public interface IDlxBugQueryService extends IService<DlxBugQuery> {

    /**
     * 缺陷查询列表
     * @return
     */
    public List<DlxBugQuery> bugQueryList();

    /**
     * 缺陷查询，多条件查询
     * @param taskId
     * @param circuitryId
     * @param level
     * @param bugType
     * @return
     */
    public List<DlxBugQuery> queryByManyConditions(String taskId,String circuitryId,Integer level,String bugType);

    public ModelAndView exportExcel(HttpServletRequest request, DlxBugQuery dlxBugQuery,Class<DlxBugQuery> clazz,String title,String taskId, String circuitryId, Integer level, String bugType);

}
